package kata13;

import org.junit.Assert;
import org.junit.Test;

import java.io.IOException;

public class CountFileRowTest2 {
    @Test
    public void should_return_3_when_read_file () throws Exception {
        ICountFile countFileRow = new CountFileRow2();
        Assert.assertEquals(3, countFileRow.getFileCount("D:\\MyKit\\java\\kataJava\\src\\main\\resource\\test.java"));
    }

    @Test
    public void should_return_5_when_read_file2 () throws Exception {
        ICountFile countFileRow = new CountFileRow2();
        Assert.assertEquals(5, countFileRow.getFileCount("D:\\MyKit\\java\\kataJava\\src\\main\\resource\\test2.java"));
    }
}
